const app = getApp()
const ipconfig = app.globalData.ipconfig;
Page({

    /**
     * 页面的初始数据
     */
    data: {
        course: {},
    },


    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (e) {
        let item = JSON.parse(decodeURIComponent(e.item))
        Object.assign(item, {'topicType': 'course' });
        this.setData({
            course:item
        })
    }


})